<%if not in_sdcms then response.write("template load fail"):response.end() end if%>{sdcms:include("../../sdcms_top.asp")}
<meta name="Keywords" content="{seokey}" />
<meta name="Description" content="{seodesc}" />
<title>{title}{if page>1}_第{page}页{/if}_{classname}_{sdcms[webname]} - powered by sdcms</title>
{sdcms:include("../../sdcms_base.asp")}
<script>var webroot="{webroot}";var infoid="{rsshow[cid]}";</script>
<script src="{webroot}lib/js/sdcms.hits.js"></script>
{sdcms:include("../../sdcms_head.asp")}

<ul class="bread">
    <li class="text-big"><a href="{webroot}" class="icon-home"> 首页</a>{sdcms.getpostion(parentid," > ")} > 正文</li>
</ul>

<div class="padding-left padding-right margin artshow">
    <h1>{title}</h1>
    <div class="info">{sdcms.getdate(createdate,".",0)} 时长：{rsshow[playtime]} 人气：<span id="hits">{hits}</span>
    {if iscomment=1 and syscomment}　评论：<span id="commentnum"><a href="{webroot}plug/comment.asp?id={id}">{comments}</a></span>{/if}</div>
    
    <div id="videoshow">
        {if rsshow("vtype")="mp4"}
        <video src="{rsshow[video]}" controls="controls">您的浏览器不支持 video 标签。</video>
        {else}
        <p class="text-red">视频不是Mp4格式的，无法播放,请联系管理员。</p>
        {/if}
    </div>

    <div class="margin-big-top showcontent">{content}</div>
    <div class="list_page clearfix">{get_content_page}</div>
    
    <ul class="pager clearfix margin-big-top">
      <li class="float-left">{sdcms:rs top="1" field="id,isurl,url,title,style,classid" table="sd_content" where="islock=1 and classid=[classid] and id<[id] and isurl=0 and point=0" order="id desc"}
    <a href="{$rs[link]}" title="{$rs[title]}">上一篇</a>
    {/sdcms:rs}</li>
      <li class="float-right">{sdcms:rs top="1" field="id,isurl,url,title,style,classid" table="sd_content" where="islock=1 and classid=[classid] and id>[id] and isurl=0 and point=0"}
    <a href="{$rs[link]}" title="{$rs[title]}">下一篇</a>
    {/sdcms:rs}</li>
    </ul>
    <div class="margin-big-top text-right margin-large-bottom">
    <button class="button win-back icon-arrow-left"> 后退</button>
    <button class="button win-backtop">返回顶部 <span class="icon-arrow-up"></span></button>
    </div>
</div>

{if iscomment=1 and syscomment and not(commentconfig(2))}
<div class="commentpost">
    <form method="post" class="form-inline form_comment">
        <div class="form-group">
            <div class="field">
            <div class="input-group"><span class="addbtn">网友：</span><input type="text" class="input" name="t0" placeholder="我也说两句" /><input type="hidden" name="t1" value="{asp sdcms.get_cityname("网友")}" /><span class="addbtn"><button type="submit" class="button bg-gray">发表</button></span></div>
            </div>
        </div>
    </form>
</div>
{/if}